<?php
return [
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
    'components' => [
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
        //这个是支付的
        'wechat' => [
            'class' => 'callmez\wechat\sdk\MpWechat',
        ],
        //这个是支付的
        'payment' => [
            'class'=>'common\widgets\payment\Instance',

            'weixinjspi_config' => [
                'code'      => 2,
                'appid'     => 'wxbf427933d1efcbfb',//微信的appid
                'secret'    => '5105524654c0ce42746af3ac16cdded2',//appsecret，在申请完公众号以后可以看到
                'mch_id'    => '1272280601',//商户号
                'key'       => 'wr54g0nnrpje1fujyjsltazcwnlawmng',//key需要设置
                'cert_path' => '',//可以不用填写
                'key_path'  => '',//可以不用填写
            ],

        ],
    ],
];
